package com.board.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.board.dto.ResourceDto;
import com.board.entity.Resource;
import com.board.param.ResourceAddParam;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 小叶
 * @since 2024年04月03日
 */
public interface ResourceService extends IService<Resource> {

    //查询所有资源(无限极菜单)
    List<ResourceDto> findAllResource();

    //新增资源
    Resource addResource(ResourceAddParam toBean);
}
